package entity.Car.model;

import entity.Car.model.reference.*;

import java.io.Serializable;
import java.sql.Date;

/**
 * Created by vanches on 6.1.15.
 */
public class Car implements Serializable{
    private int id;
    private Model model;
    private Transport transport;
    private TypeEngine typeEngine;
    private Transmission transmission;
    private Privod privod;
    private BodyType bodyType;
    private double valueEngine;

    public Car(){

    }

    public Car(Model model, Transport transport, TypeEngine typeEngine, Transmission transmission, Privod privod, BodyType bodyType, double valueEngine) {
        this.model = model;
        this.transport = transport;
        this.typeEngine = typeEngine;
        this.transmission = transmission;
        this.privod = privod;
        this.bodyType = bodyType;
        this.valueEngine = valueEngine;
    }
    //region GET and SET

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Model getModel() {
        return model;
    }

    public void setModel(Model model) {
        this.model = model;
    }

    public Transport getTransport() {
        return transport;
    }

    public void setTransport(Transport transport) {
        this.transport = transport;
    }

    public TypeEngine getTypeEngine() {
        return typeEngine;
    }

    public void setTypeEngine(TypeEngine typeEngine) {
        this.typeEngine = typeEngine;
    }

    public Transmission getTransmission() {
        return transmission;
    }

    public void setTransmission(Transmission transmission) {
        this.transmission = transmission;
    }

    public Privod getPrivod() {
        return privod;
    }

    public void setPrivod(Privod privod) {
        this.privod = privod;
    }

    public BodyType getBodyType() {
        return bodyType;
    }

    public void setBodyType(BodyType bodyType) {
        this.bodyType = bodyType;
    }

    public double getValueEngine() {
        return valueEngine;
    }

    public void setValueEngine(double valueEngine) {
        this.valueEngine = valueEngine;
    }


//endregion
}
